Release 10.1A: OpenEdge Development:
Messaging and ESB
Using JMS 1.1 unified domain model
Prior to OpenEdge Release 10.1, 4GL clients were required to create a JMS session that was either for PTP or Pub/Sub messaging. If the client needed to use both queues and topics, it was necessary to create two JMS sessions.
OpenEdge Release 10.1 supports JMS 1.1. JMS 1.1 unifies the two messaging domains into one domain. Therefore, 4GL clients may utilize both PTP or Pub/Sub messaging within the same JMS session. You can access both queues and topics using the same JMS session object. The following example shows the syntax for using queues and topics in the same JMS session object:
Note: The ModChat example demonstrates using the
jmssessionto perform both PTP and Pub/Sub messaging. The example uses a serialized connection object and server-based message selectors.
For information on locating the examples, see the "Example procedures" section. For an alphabetical API reference, see Appendix A "4GL-JMS API Reference."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |